# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=thumbdrives
pkgver=0.3.2
pkgrel=2
pkgdesc="Mass storage and iso emulator"
url="https://git.sr.ht/~martijnbraam/thumbdrives"
arch="noarch"
license="MIT"
depends="python3 py3-gobject3 py3-xdg py3-setuptools gtk+3.0 libhandy1"
makedepends="glib-dev libhandy1-dev meson ninja"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/thumbdrives/archive/$pkgver.tar.gz
	0001-Migrate-from-libhandy-0.1-to-libhandy-1.patch
	"
options="!check" # There's no testsuite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
1594a303e375ca489fbe671e6917013c6d32239d8dfe325616ba94da81ca95cbe82fe0cb719f91a0f78e1b18d59713048899442749ead0a0cdd29508a0bea1d6  thumbdrives-0.3.2.tar.gz
b2149a2c12020d329642be7300ce23a3fc67c21214b099c1edac3429db58a7637d20bfcab07a2e3e269f444d51ba26853455d4acc303f4a6b6896b529928fc0c  0001-Migrate-from-libhandy-0.1-to-libhandy-1.patch
"
